package org.example;

import java.util.Map;

/**
 * @author junjie.yang
 * @date 2023/12/26
 */
public interface OrderService {
    Order create();

    Order pay(long id);

    Order deliver(long id);

    Order receive(long id);

    Map<Long, Order> getOrders();
}
